//
//  judgeString.m
//  bookKTVMerchant
//
//  Created by edz on 2019/7/22.
//  Copyright © 2019年 edz. All rights reserved.
//

#import "judgeString.h"

@implementation judgeString
+ (BOOL) isBlankString:(NSString *)string {
    
    if (string == nil || string == NULL) {
        
        return YES;
        
    }
    
    if ([string isKindOfClass:[NSNull class]]) {
        
        return YES;
        
    }
    
    if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0) {
        
        return YES;
        
    }
    
    return NO;
    
}
@end
